﻿using System;
using SqlSugar;

namespace HBKY.Shop.Entity
{
    /// <summary>
    /// 实体基类
    /// </summary>
    public class BaseEntity<Tkey> where Tkey : IEquatable<Tkey>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public virtual Tkey Id { get; set; }
    }
}